package com.ecotope.quartz.module.service.impl;

import com.ecotope.quartz.module.dao.MonitorFactorsDao;
import com.ecotope.quartz.module.entity.MonitorFactors;
import com.ecotope.quartz.module.service.MonitorFactorsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author JK
 */
@Service
public class MonitorFactorsServiceImpl implements MonitorFactorsService {

    @Autowired
    private MonitorFactorsDao monitorFactorsDao;

    @Override
    public List<MonitorFactors> selectList(MonitorFactors monitorFactors) {
        return monitorFactorsDao.selectList(monitorFactors);
    }

    @Override
    public int insert(MonitorFactors monitorFactors) {
        return monitorFactorsDao.insert(monitorFactors);
    }
}
